import os
import sys
Import('env')


OBJS  = []
cwd = os.getcwd()
list = os.listdir(cwd)
for d in list:
    path = os.path.join(cwd, d)
    if os.path.isfile(os.path.join(path, 'makefile.py')):
        OBJS += SConscript(os.path.join(d, 'makefile.py'))

# OBJS += Glob('*.a')
OBJS += Glob('*.c')
OBJS += Glob('*.cpp')

Return('OBJS')
